package Demo1;

abstract class A {
    abstract public void draw();
}
abstract class B extends A {
    @Override
    public void draw() {
        System.out.println("hhh");
    }
}
class C extends B {
    @Override
    public void draw() {
        System.out.println("aaa");
    }
}
public class TestA {

}
